import request from '@/utils/request'

// 查询代表风采列表
export function listRepresentingAppearance(query) {
  return request({
    url: '/RepresentingAppearance/RepresentingAppearance/list',
    method: 'get',
    params: query
  })
}

// 查询代表风采详细
export function getRepresentingAppearance(id) {
  return request({
    url: '/RepresentingAppearance/RepresentingAppearance/' + id,
    method: 'get'
  })
}

// 新增代表风采
export function addRepresentingAppearance(data) {
  return request({
    url: '/RepresentingAppearance/RepresentingAppearance',
    method: 'post',
    data: data
  })
}

// 修改代表风采
export function updateRepresentingAppearance(data) {
  return request({
    url: '/RepresentingAppearance/RepresentingAppearance',
    method: 'put',
    data: data
  })
}

// 删除代表风采
export function delRepresentingAppearance(id) {
  return request({
    url: '/RepresentingAppearance/RepresentingAppearance/' + id,
    method: 'delete'
  })
}
